package com.have.blog.picture.service;

import com.have.blog.base.wrapper.Wrapper;
import com.have.blog.model.models.Picture;
import com.have.blog.picture.dto.PictureUrlDto;
import org.springframework.web.multipart.MultipartFile;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface PictureService {
    Wrapper<List<PictureUrlDto>> cropperPicture(ArrayList<MultipartFile> list);

    Wrapper<Map<Integer, String>> getPictures(List<Integer> pictureUids);

    Wrapper<List<Picture>> batchUploadPicture(List<MultipartFile> filedatas);

    Wrapper<String> getPicture(Integer pictureUid);
}
